# 目标变量名

target_variable="VITE_GIT_INFO"

# 读取输入文件的内容
content=$(cat "./prebuild/server_commit_version")

sed -i "s/\($target_variable\).*/\1$content/g" "./env"